package construction.decorator;

public class Decorator extends Drink {
    Drink drink;

    public Decorator(Drink drink) {
        this.drink = drink;
    }

    @Override
    public String getDes() {
        return super.getDes() + "&&" + drink.getDes() + "  ";
    }

    @Override
    public float cost() {
        return super.cost() + drink.cost();
    }

}
